package lab01;

/**
 * Created by dell on 2017/10/9.
 */
public class Test10 {
    public static void main(String[] args) {
        int a,b,c,num;
        char ch;
        num='A'-1;
        for(a=1;a<4;a++){
            for(c=1;c<=4;c++)
                System.out.println("");
            for(b=1;b<=a;b++){
                num=num+1;
                ch=(char)num;
                System.out.println(ch+"");
            }
            System.out.println("");
        }
        for(a=1;a<=4;a++){
            for(c=1;c<=a-1;c++)
                System.out.println("");
            for(b=1;b<=5-a;b++){
                num=num+1;
                ch=(char)num;
                System.out.println(ch+"");
            }
            System.out.println("");
        }
    }
}
